package com.easygo.api;

import com.easygo.utils.PageUtils;
import com.xuexi.easygo.pojo.Goods;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("easygo-search-service")
public interface GoodsSearchClient {

    @RequestMapping("get_Goods")
    PageUtils<Goods> goods_search(@RequestParam(value = "pageIndex") Integer pageIndex,
                                         @RequestParam(value = "pageSize") Integer pageSize,
                                         @RequestParam(value = "keyWords") String keyWords);
}
